package com.blockmeta.bbs.businesslibrary.net.retrofit.api;

import com.blockmeta.bbs.businesslibrary.net.pojo.BaseImResponse;
import com.blockmeta.bbs.businesslibrary.net.pojo.UserInfo;

import io.reactivex.Flowable;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface GetUserInfoApi {
    /**
     * 获取用户详情
     * @param userId 对方uid
     * @return
     */
    @GET("im/chatUser/getUserInfo")
    Flowable<BaseImResponse<UserInfo>> getUserInfo(@Query("user_id") String userId);
}
